<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
    <form action="{% url 'myapp:login' %}" method="post">
        {% csrf_token %}
        <label>用户名：</label><input type="text" name="uname" placeholder="请输入用户名"><br>
        <label>密&emsp;码：</label><input type="password" name="upwd" placeholder="请输入密码"><br>
        <input type="submit" value="登录" >
    </form>
</body>
</html>